package com.rcloud.server.sealtalk.dao;

import com.rcloud.server.sealtalk.domain.Groups;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface GroupsMapper extends Mapper<Groups> {
    /**
     * 查询群组列表信息 (不含讨论组)
     */
    List<Groups> queryGroups(@Param("currentUserId") Integer currentUserId);

    /**
     * 查询推荐群组列表信息
     */
    List<Groups> queryRecommendGroups();
}